<?php
/**
 * Search results page
 *
 * Methods for TimberHelper can be found in the /lib sub-directory
 *
 * @package  WordPress
 * @subpackage  Timber
 * @since   Timber 0.1
 */
namespace ITSociaal\Themes\Lumber;

call_user_func(function() {
	$templates = ["search.twig", "archive.twig", "index.twig"];
	$context = Timber::get_context();

	$context["title"] = "Search results for " . get_search_query();
	$context["posts"] = Timber::get_posts();

	Timber::render($templates, $context);
});

/* vi:set ts=4 sw=4 noet: */
